import React from 'react'

class ComponentA extends React.Component {
  render () {
    return (
      <div className={ this.props.selectedTabId === 'component-a' ? '' : 'hide-comp' }>
        <input type="text" placeholder="Input of ComponentA" />
      </div>
    )
  }
}

export default ComponentA